package com.gitee.cobra_s.cloud.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableEurekaServer
public class CloudEurekaApplication extends SpringBootServletInitializer{

  public static void main(String[] args) {
    SpringApplication.run(CloudEurekaApplication.class, args);
//    new SpringApplicationBuilder(CloudEurekaApplication.class).web(true).run(args);
//    new SpringApplicationBuilder(CloudEurekaApplication.class).showBanner(false).web(true).run(args);
  }
}
